﻿using System;
using WpfAi.Core;
using WpfAi.Enum;
using WpfAi.Model;
using System.IO.Ports;

namespace WpfAi.TestModule
{
    public interface ITestModule
    {
        int Order { get; }
        string Title { get; }
        SerialClass Serial { get; set; }
        EnumWindowType WindowType { get; }
        void StartTest(Action<ResponseWarp> afterAction, int waitTime = 10);
    }

    public class DataUploadEventArgs
    {
        public object sender { get; set; }
        public SerialDataReceivedEventArgs e { get; set; }
        public byte[] data { get; set; }
    }
}
